﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Oroboros.Save_Data
{
    public class ScoreKeeperSaveData : INotifyPropertyChanged
    {
        private int _RunningScore;

        public int RunningScore { get { return _RunningScore; } set { Changed("RunningScore"); _RunningScore = value; } }

        public event PropertyChangedEventHandler PropertyChanged;
        public void Changed(string n)
        {
            if (PropertyChanged == null) return;
            if (!string.IsNullOrEmpty(n))
                PropertyChanged(this, new PropertyChangedEventArgs(n));
        }
    }
}
